package com.Shoping.entity;

/**
 * 商品颜色实体类
 */
public class Color {

    private Integer cId;//颜色主键

    //外键
    private Integer cmId;//商品主键
    private String cImg;//颜色图片路径
    private Integer cNumber;//颜色对应的库存

    @Override
    public String toString() {
        return "Color{" +
                "cId=" + cId +
                ", cmId=" + cmId +
                ", cImg='" + cImg + '\'' +
                ", cNumber=" + cNumber +
                '}';
    }

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }

    public String getcImg() {
        return cImg;
    }

    public void setcImg(String cImg) {
        this.cImg = cImg;
    }

    public Integer getcNumber() {
        return cNumber;
    }

    public void setcNumber(Integer cNumber) {
        this.cNumber = cNumber;
    }

    public Color(Integer cId, Integer cmId, String cImg, Integer cNumber) {
        this.cId = cId;
        this.cmId = cmId;
        this.cImg = cImg;
        this.cNumber = cNumber;
    }

    public Color() {
    }
}
